simple NodeDSDV
{
    parameters:
        @signal[arrival](type="long");
        @statistic[hopCount](title="hop count"; source="arrival"; record=vector,stats; interpolationmode=none);

        @display("i=block/routing");
    gates:
        inout gate[];
}

network routing_dsdv
{
    types:
        channel Channel extends ned.DelayChannel
        {
            delay = 100ms;
        }
    submodules:
        noder[6]: NodeDSDV;
    connections:
        noder[0].gate++ <--> Channel <--> noder[2].gate++;
        noder[2].gate++ <--> Channel <--> noder[1].gate++;
        noder[2].gate++ <--> Channel <--> noder[3].gate++;
        noder[4].gate++ <--> Channel <--> noder[3].gate++;
        noder[3].gate++ <--> Channel <--> noder[5].gate++;
}

